import QtQuick 1.0

Image{
    id: navigationBar
    width: parent.width
    height: 102
    source: "images/navigationbar1.png"
    anchors.bottom: parent.bottom
    MouseArea{
        anchors.fill: parent
        onClicked: {
            console.log(mouseY)
            aboutDialog.opacity = 0
            if (mouseX<187) // width of weather button
            {
                // Weather button clicked
                myApp.state=""
            }
            else{
                myApp.state = "newsView"
            }
        }
    }
}
